//
//  BaseViewController.h
//  SouthChina
//
//  Created by Mr.Y on 14-10-8.
//  Copyright (c) 2014年 科创. All rights reserved.
//

#define TITLE_BAR_HEGIHT (44)

#import "BDKNotifyHUD.h"
#import "MBProgressHUD.h"
#import <UIKit/UIKit.h>


@interface BaseViewController : UIViewController


@property(nonatomic,retain) UIView *titlebar;
@property(nonatomic,retain) UILabel *_titleLable;
@property(nonatomic,retain) UIButton *_leftBtn;
@property(nonatomic,retain) UIButton *_rightBtn;
@property(nonatomic,retain)UILabel *lableTitle;
@property (strong, nonatomic) UIImageView *  imHeadImage;//头像
@property (strong, nonatomic) UIButton    *  btnHeadImageBtn;
@property(strong, nonatomic)UILabel *lablename; //用户名

//add by lq
- (void) addTitleBarWithBackBtn:(NSString *)title needReturn:(bool)need;

- (void) addTitleBarWithBackBtn:(NSString *)title;

- (void) addHeadImage;

- (void)setExtraCellLineHidden: (UITableView *)tableView;

// 显示提示文字，在指定时间内自动消失
-(void)showAlerHUD:(NSString*)text;


- (void)colseKeyboard;

- (void)btnBack;

-(void) refreshImagehead;



@end
